home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5171 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: noc.tor.hookup.net!news
  2. From: Rajendra_Singh@msn.com (Rajendra Singh)
  3. Newsgroups: comp.os.msdos.programmer,comp.lang.c
  4. Subject: Re: open vs fopen?
  5. Date: Thu, 08 Feb 1996 03:31:38 GMT
  6. Organization: HookUp Communication Corporation, Oakville, Ontario, CANADA
  7. Message-ID: <4fbfno$7f@noc.tor.hookup.net>
  8. References: <uEYFxc9nX8WX083yn@mbnet.mb.ca> <4f8bev$6tr@hermes.louisville.edu>
  9. NNTP-Posting-Host: u36u400.tor.hookup.net
  10. NNTP-Posting-User: u36u400
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. gclind01@starbase.spd.louisville.edu (George C. Lindauer) wrote:
  14.  
  15. >The only reason I know of is UNIX portability.  Whenever I run across a
  16. >unix program that uses the old-style open instead of fopen I usually
  17. >end up rewriting it anyway though; I've had so many problems with
  18. >the unix-style stuff I just rather would deal with the ANSI style.
  19.  
  20. That's incorrect.  fopen() is used for buffered I/O!  open() is not a
  21. UNIX specific function nor is it non-ANSI!
  22. ---
  23. Rajendra Singh, B. Sc. (Rajendra_Singh@msn.com)
  24. "What is understood need not be discussed." - Loren Adams
  25.  
  26.